import  {businessUrl} from "../config/env";
import request from "../config/axios";

//调取秒杀产品接口
export const SeckillProducts = ()=>request({
    url:`${businessUrl}api/yxStoreSeckill?page=1&size=10&sort=id%2Cdesc`,
    method:"GET",
    
    
})

//搜索接口
export const SeckillSearchProducts = (data)=>request({
    url:`${businessUrl}api/yxStoreSeckill?page=0&size=10&sort=id%2Cdesc${data}`,
    method:"GET",
    
    
})